package com.qys.livesMall.anchor.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 主播接取带货任务表
 * </p>
 *
 * @author
 * @since 2023-06-16
 */
@Getter
@Setter
@TableName("h2_anchor_sell_task")
@Schema(name = "AnchorSellTask", description = "主播接取带货任务表")
public class AnchorSellTask implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "主播任务编号")
    @TableId(value = "id")
    private Long id;

    @Schema(description = "主播编号")
    private Long anchorId;

    @Schema(description = "主播名")
    private String anchorName;

    @Schema(description = "店铺编号")
    private Long shopBaseId;

    @Schema(description = "店铺名称")
    private String shopName;

    @Schema(description = "带货任务编号")
    private Long shopSellTaskId;

    @Schema(description = "状态（0：未进行  1：进行中  2：进行完待结算   3：已完成结算  4：未申请带货直播  5:未通过申请）")
    private Byte status;

    @Schema(description = "结束时间")
    private LocalDateTime endTime;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;
}
